package com.twetec.cms.model.vo.website;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author Administrator
 * @title: TemplateGetOneVO
 * @projectName SBProject-CMSServer
 * @description: TODO
 * @date 2021/10/418:55
 */
@ApiModel
public class TemplateItemVO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "Id", example = "12345646546")
    private Long id;

    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板名称", example = "模板1")
    private String name;

    /**
     * 模板编码
     */
    @ApiModelProperty(value = "模板编码", example = "aaa")
    private String code;

    /**
     * 模板类型(PC和H5)
     */
    @ApiModelProperty(value = "模板类型(PC和H5)", example = "H5")
    private String type;

    /**
     * 备注信息
     */
    @ApiModelProperty(value = "备注信息", example = "这段话是文章模板的备注...")
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "TemplateGetOneVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", type='" + type + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
